#include <buola/image/format.h>
#include <buola/image/io.h>
#include <buola/image/drawing/basic.h>
#include <buola/image/adaptors.h>
#include <buola/image/views/cmaskedview.h>
#include <buola/image/rasterizer/cscanlinerasterizer.h>
#include <buola/image/rasterizer/cscanline.h>
#include <buola/image/rasterizer/clineinterpolator.h>

using namespace buola;

int main()
{
    img::CImage_rgb8 lImage({320,200},img::pixel(55,55,55));

    const auto &lView=lImage;

    img::render_line_aa(lView,{300,50},{150,190},img::pixel(130,237,170));

    img::save(lImage,io::file("agg6.ppm"));
}
